Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate child process exit code properly in edmPluginRefresh #44838

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

makortel
Copy link
Contributor

@makortel makortel commented Apr 24, 2024

PR description:

#44821 (comment) reports the edmPluginRefresh returns a zero exit code even if a child process crashes. This PR propagates the non-zero exit code from the child process properly to the main process' exit() by using the WEXITSTATUS() macro as instructed in https://man7.org/linux/man-pages/man3/wait.3p.html.

Resolves cms-sw/framework-team#901

PR validation:

The reproducer in #44821 (comment) returns non-zero exit code.

@makortel makortel changed the title Propagate child process exit code properly in edmPluginRefresh Propagate child process exit code properly in edmPluginRefresh Apr 24, 2024
@makortel makortel changed the title Propagate child process exit code properly in edmPluginRefresh Propagate child process exit code properly in edmPluginRefresh Apr 24, 2024
@cmsbuild cmsbuild added this to the CMSSW_14_1_X milestone Apr 24, 2024
@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 24, 2024

cms-bot internal usage

@makortel
Copy link
Contributor Author

@Dr15Jones @dan131riley Could you double-check?

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44838/40084

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @makortel for master.

It involves the following packages:

  • FWCore/PluginManager (core)

@Dr15Jones, @smuzaffar, @cmsbuild, @makortel can you please review it and eventually sign? Thanks.
@missirol, @wddgit this is something you requested to watch as well.
@antoniovilela, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44838/40087

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

Pull request #44838 was updated. @makortel, @cmsbuild, @smuzaffar, @Dr15Jones can you please check and sign again.

@makortel
Copy link
Contributor Author

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-217df6/39073/summary.html
COMMIT: 24cdd45
CMSSW: CMSSW_14_1_X_2024-04-24-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/44838/39073/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

There are some workflows for which there are errors in the baseline:
24834.78 step 2
The results for the comparisons for these workflows could be incomplete
This means most likely that the IB is having errors in the relvals.The error does NOT come from this pull request

Summary:

Also when the child process was terminated by a signal.
@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44838/40109

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

Pull request #44838 was updated. @Dr15Jones, @cmsbuild, @makortel, @smuzaffar can you please check and sign again.

@makortel
Copy link
Contributor Author

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-217df6/39123/summary.html
COMMIT: 6151d55
CMSSW: CMSSW_14_1_X_2024-04-26-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/44838/39123/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

There are some workflows for which there are errors in the baseline:
24834.78 step 2
The results for the comparisons for these workflows could be incomplete
This means most likely that the IB is having errors in the relvals.The error does NOT come from this pull request

Summary:

@makortel
Copy link
Contributor Author

@makortel
Copy link
Contributor Author

+core

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @rappoccio, @sextonkennedy, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2)

@antoniovilela
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 93c1c50 into cms-sw:master Apr 29, 2024
11 checks passed
@makortel makortel deleted the edmPluginRefreshExitCode branch April 29, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Propagate child process exit code properly in edmPluginRefresh
4 participants